package com.jmlee.pojo;

/**
 * @Description TODO
 * @Author jmLee
 * @Date 2021/3/10 18:46
 * @Version 1.0
 */
public class OrderItems {

    /**
     * 主键id
     */
    private Long id;

    /**
     * 归属订单id
     */
    private Long orderId;

    /**
     * 商品id
     */
    private Long itemId;

    /**
     * 商品图片(这里只选择其中一张图片)
     */
    private String itemImg;

    /**
     * 商品名称
     */
    private String itemName;

    /**
     * 预计价格
     */
    private Integer prePrice;

    /**
     * 成交价格
     */
    private Integer price;

    /**
     * 购买数量
     */
    private Integer buyCounts;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public String getItemImg() {
        return itemImg;
    }

    public void setItemImg(String itemImg) {
        this.itemImg = itemImg;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public Integer getPrePrice() {
        return prePrice;
    }

    public void setPrePrice(Integer prePrice) {
        this.prePrice = prePrice;
    }

    public Integer getPrice() {
        return price;
    }

    public void setPrice(Integer price) {
        this.price = price;
    }

    public Integer getBuyCounts() {
        return buyCounts;
    }

    public void setBuyCounts(Integer buyCounts) {
        this.buyCounts = buyCounts;
    }

    @Override
    public String toString() {
        return "OrderItems{" +
                "id=" + id +
                ", orderId=" + orderId +
                ", itemId=" + itemId +
                ", itemImg='" + itemImg + '\'' +
                ", itemName='" + itemName + '\'' +
                ", prePrice=" + prePrice +
                ", price=" + price +
                ", buyCounts=" + buyCounts +
                '}';
    }
}
